package com.amado.course0601While;

import java.util.Scanner;

public class While {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		System.out.println("请输入一个整数：");
		int num = sc.nextInt();
		while (num < 10) {
			System.out.print(num++ + " ");
		}
	}
}
